@if (LayoutHookViewModel.Hooks.Any())
{
    foreach (var hook in LayoutHookViewModel.Hooks)
    {
        <DynamicComponent Type="@hook.ComponentType" />
    }
}